import axios  from "@/utils/axios";
const admin={
    login(data){
        return axios.post("/admin/login",
            data
        )
    },
    getAdmin(){
        return axios.get("/admin/getAllAdmins")
    },
    addAdmin(data){
        return axios.post("/admin/addAdmins",data)
    },
    deleteAdmin(data){
        return axios.post("/admin/delAdmins",data)
    },
}
export default admin